<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="/js/shell/axios.min.js" type="text/javascript"></script>
</head>
<body>
    <script>
        axios
        .get('/d')
        .then(function(response){
            let status = response.data.code;
            // alert(status);
            if(status==="0"){
                window.location.replace("login.html");
            }
            else if(status==="1"){
                window.location.replace("index.html");
            }
        });
    </script>
</body>
</html>